package studentsGA;

import GA.Gene;

public class StudentGene extends Gene{	
	
	public StudentGene(int id){
		super(id); 	// Identificador del alumno dentro del vector de alumnos
	}
	
	public boolean equals(Gene other){
		if (!(other instanceof StudentGene))
			return false;
		return this.id == ((StudentGene)other).id; 
	}

	public Gene clone() {
		return new StudentGene(this.id);
	}
}
